package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author MiniApple
 * @date 2020/6/15 - 21:19
 */
public interface UserApi {
    @PostMapping("query")
    public User queryUser(@RequestParam("username") String username, @RequestParam("password")String password);
}
